package com.luobinjie.svt.common.bean;

import lombok.Data;

@Data
public class WebResult<T> {

    private Integer code;
    private String message;
    private T data;

    public static WebResult success(){
        WebResult result = new WebResult();
        result.setCode(200);
        result.setMessage("请求成功");
        return result;
    }

}
